﻿
namespace ETS.Core;


/// <summary>
/// 供应商表
/// </summary>
[SugarTable(null, "供应商表")]
public partial class BuSupplier : EntityTenant
{
    /// <summary>
    /// 供应商名称
    /// </summary>
    [SugarColumn(ColumnDescription = "供应商名称", Length = 64)]
    [Required, MaxLength(64)]
    public virtual string SupplierName { get; set; }


    /// <summary>
    /// 供应商所在城市
    /// </summary>
    [SugarColumn(ColumnDescription = "供应商所在城市")]
    public int? City { get; set; }

    /// <summary>
    /// 供应商地址
    /// </summary>
    [SugarColumn(ColumnDescription = "供应商地址", Length = 200)]
    public virtual string Address { get; set; }


    /// <summary>
    /// 联系人
    /// </summary>
    [SugarColumn(ColumnDescription = "联系人", Length = 200)]
    public virtual string Contacts { get; set; }


    /// <summary>
    /// 联系电话
    /// </summary>
    [SugarColumn(ColumnDescription = "联系电话", Length = 50)]
    public virtual string Tel { get; set; }


    /// <summary>
    /// 支付宝账户名称
    /// </summary>
    [SugarColumn(ColumnDescription = "支付宝账户名称", Length = 64)]
    public virtual string AlypayName { get; set; }

    /// <summary>
    /// 支付宝账号
    /// </summary>
    [SugarColumn(ColumnDescription = "支付宝账号", Length = 100)]
    public virtual string AlypayNo { get; set; }

    /// <summary>
    /// 银行账户名称
    /// </summary>
    [SugarColumn(ColumnDescription = "银行账户名称", Length = 100)]
    public virtual string AccountName { get; set; }

    /// <summary>
    /// 银行账号
    /// </summary>
    [SugarColumn(ColumnDescription = "银行账号", Length = 100)]
    public virtual string AccountNo { get; set; }

    /// <summary>
    /// 开户行信息
    /// </summary>
    [SugarColumn(ColumnDescription = "开户行信息", Length = 200)]
    public virtual string AccountBank { get; set; }

    /// <summary>
    /// 合作开始时间
    /// </summary>
    [SugarColumn(ColumnDescription = "合作开始时间")]
    public virtual DateTime? CooperationStartDate { get; set; }

    /// <summary>
    /// 合作结束时间
    /// </summary>
    [SugarColumn(ColumnDescription = "合作结束时间")]
    public virtual DateTime? CooperationEndDate { get; set; }
}
